import { createApp } from 'vue'

import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//svg插件
import 'virtual:svg-icons-register'
import gloalComponent from '@/components/index.ts'
import router from './router'


const app = createApp(App)

app.use(ElementPlus, {
    locale: zhCn
})
//安装插件
app.use(ElementPlus)
app.use(gloalComponent)
app.use(router)

app.mount('#app')

